<?php
include_once 'inc/comm.inc.php';

if(isempty(@$_GET['id']))
	myexit();

if(isempty(@$_GET['captcha'])){
	$captcha = randomcaptcha(4);
	setcaptcha($_GET['id'], $captcha);
	//error_log("captcha:$captcha");
	corecaptcha($captcha);
}
else{
	echo verifycaptcha($_GET['id'], $_GET['captcha']);
}
?>